<?
/*
@ Admin Area includes: This file decides what to include for files in admin area
*/
@include("config/gen_inc.php");
@include("config/opt_inc.php");
@include("config/pay_inc.php");
@include("config/board_inc.php");


@include("../includes/table_names.php");
@include("../includes/inputfilter.php");
@include("../tools/phpmailer/class.phpmailer.php");
@include("../tools/xajax/xajax.inc.php");
@include("../includes/tpl_inc.php");
@include("../includes/cache.php");
@include("../includes/functions-fdv.php");

if (!$set_language_admin)
	$set_language_admin="eng";
if ($_SESSION["adm_lang"]!="")
	$set_language_admin=$_SESSION["adm_lang"];	

//@include("../includes/functions_upload.php"); // Common upload library

if ((!@mysql_connect("$set_mysql_host", "$set_mysql_user", "$set_mysql_pass") OR !@mysql_select_db("$set_mysql_base")) && $override!=1)
{
	echo "DB conection down";	
}
else
	mysql_query("SET NAMES utf8");
@include("config/language/adm_". $set_language_admin . "_user.inc"); // Language strings for admin area
@include("language_src/adm_". $set_language_admin . "_system.inc"); // User Language strings for admin area
require("../includes/functions.php");

?>